package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.InvitationRecordDao;
import com.fsj.admin.system.domain.InvitationRecordDO;
import com.fsj.admin.system.service.InvitationRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class InvitationRecordServiceImpl implements InvitationRecordService {
	@Autowired
	private InvitationRecordDao invitationRecordDao;
	
	@Override
	public InvitationRecordDO get(Long id){
		return invitationRecordDao.get(id);
	}
	
	@Override
	public List<InvitationRecordDO> list(Map<String, Object> map){
		return invitationRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return invitationRecordDao.count(map);
	}
	
	@Override
	public int save(InvitationRecordDO invitationRecord){
		return invitationRecordDao.save(invitationRecord);
	}
	
	@Override
	public int update(InvitationRecordDO invitationRecord){
		return invitationRecordDao.update(invitationRecord);
	}
	
	@Override
	public int remove(Long id){
		return invitationRecordDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return invitationRecordDao.batchRemove(ids);
	}
	
}
